package com.atguigu.tingshu.user.client.impl;


import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.TrackInfo;
import com.atguigu.tingshu.model.user.UserInfo;
import com.atguigu.tingshu.user.client.UserInfoFeignClient;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public class UserInfoDegradeFeignClient implements UserInfoFeignClient {

	@Override
	public Result<UserInfo> findUserById(Long userId) {
		System.out.println("UserInfoDegradeFeignClient.findUserById");
		return Result.fail();
	}

	@Override
	public Result<Map<Long, Integer>> userIsPaidTrack(Long albumId, List<Long> trackIdList) {
		System.out.println("UserInfoDegradeFeignClient.userIsPaidTrack");
		return Result.fail();
	}

	@Override
	public Result<List<Long>> findUserPaidTrackList(Long albumId) {
		System.out.println("UserInfoDegradeFeignClient.findUserPaidTrackList");
		return Result.fail();
	}

	@Override
	public Result<Boolean> isUserPaidAlbum(Long albumId) {
		System.out.println("UserInfoDegradeFeignClient.isUserPaidAlbum");
		return Result.fail();
	}

	@Override
	public Result<Void> updateVipExpireHandler() {
		System.out.println("UserInfoDegradeFeignClient.updateVipExpireHandler");
		return Result.fail();
	}


}
